#define  _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include <stdio.h>
typedef struct date {
	int year;
	int month;
	int day;
}DATE;

void Func(DATE* p) {
	p->year = 2018; p->month = 12; p->day = 25;
}

int main()
{
	DATE d = { 2019,1,1 };
	printf("%d,%d,%d\n", d.year, d.month, d.day);
	Func(&d);
	printf("%d,%d,%d\n", d.year, d.month, d.day);
	return 0;
}